Repository navigation
fix(tls): make Socket.IO transport optional - #13
Conversation
Co-authored-by: Medulla <medulla@tinyhumans.ai>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe crate now makes Socket.IO support optional through a default-enabled Cargo feature. Socket-related modules, errors, connection APIs, and tests compile only when the ChangesSocket feature gating
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to Socket.IO remains enabled by default, while HTTP-only consumers can opt out of its APIs and native-TLS dependency chain; no actionable merge-blocking risk remains after normal checks and review. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
How this change flows2 changed behaviours across 9 relationships. 6 surrounding behaviours are shown (60 graph nodes walked). 32 further behaviours left out to keep the diagram readable. flowchart LR
n0["Error<br/>changed"]:::changed
n1["TinyHumansClient<br/>changed"]:::changed
n2["send_typed"]:::impacted
n3["decode_medulla"]:::impacted
n4["...ream_url_carries_the_encoded_token_and_id"]:::impacted
n5["send"]:::impacted
n6["with_token"]:::impacted
n7["decode"]:::impacted
n2 -->|uses| n0
n2 -->|calls| n5
n3 -->|uses| n0
n3 -->|calls| n7
n4 -->|uses| n1
n4 -->|calls| n6
n4 -->|tests| n6
n5 -->|uses| n0
n7 -->|uses| n0
classDef changed fill:#0d4429,stroke:#238636,color:#e6edf3
classDef impacted fill:#161b22,stroke:#6e7681,color:#c9d1d9
classDef flagged fill:#5a1e02,stroke:#d93f0b,color:#ffffff
classDef blocking fill:#67060c,stroke:#f85149,color:#ffffff
Green: changed behaviour. Grey: surrounding behaviour. Arrows name the call, use, implementation, or test relationship. Orange: has findings. Red: has a finding that blocks the merge. |
There was a problem hiding this comment.
tinysweeper found nothing blocking. Approving.
$0.0306 · 68,310 in / 10,510 out · 13,696 cached (20%) · deepseek/deepseek-v4-pro-0813, openrouter/openai/text-embedding-3-small · 63 embedded
critique: $0.0140 · 26,677 in / 4,901 out · 4,352 cached (16%) · deepseek/deepseek-v4-pro-0813
security: $0.0105 · 25,502 in / 1,110 out · 3,584 cached (14%) · deepseek/deepseek-v4-pro-0813
tests: $0.0035 · 8,995 in / 316 out · 1,664 cached (18%) · deepseek/deepseek-v4-pro-0813
description: $0.0014 · 3,212 in / 851 out · 1,664 cached (52%) · deepseek/deepseek-v4-pro-0813
`vendor/tinyhumans-sdk` sat at 1cd5dee (the optional Socket.IO transport, tinyhumansai/sdk#13). Move it to 83ab7b1, picking up: - tinyhumansai/sdk#14, #15 — the spend-cap routes and their spec sync - tinyhumansai/sdk#16 — `/agent-integrations/*` split one module per provider, a verified pure move with `api::agent_integration_types` kept as a re-export shim This crate imports `tinyhumans_sdk::api::types` and `tinyhumans_sdk::jwt` only, neither of which the split touches, and the SDK is taken with `default-features = false`, so the socket feature stays off. Gitlink only — Cargo.lock is unchanged, since the crate version and its dependency set did not move. Co-authored-by: Medulla <medulla@tinyhumans.ai>
Summary
socketfeatureValidation
cargo fmt --all -- --checkcargo check --all-targetscargo check --all-targets --no-default-featurescargo clippy --all-targets --all-features -- -D warningscargo clippy --all-targets --no-default-features -- -D warningsSummary by CodeRabbit